package com.yunji.order.dto.cmd;

import com.yunji.order.domain.RefundDO;
import com.yunji.order.emuns.RefundStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @author : peter-zhu
 * @date : 2025/3/28 15:05
 * @description : TODO
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class RefundPassCommandDTO extends RefundCommandDTO{
    @ApiModelProperty("是否返回库存 0 不返回 1 返回")
    private Integer auditBackStock;

    public RefundPassCommandDTO(RefundDO refundDO, RefundStatusEnum newStatus, Integer auditBackStock) {
        super(refundDO, newStatus);
        this.auditBackStock = auditBackStock;
    }
}
